#include<func.h>
void signalHandler(int signum)
{
    printf("sig %d is comming\n",signum);
}
int main()
{
    if(SIG_ERR==signal(SIGINT,SIG_IGN))
    {
        printf("signal error\n");
        return -1;
    }
    sleep(10);
    signal(SIGINT,SIG_DFL);
    while(1);
    return 0;

}